<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <h2>这是一个二级路由</h2>
    <router-link to="/OpenList"  class="text">开启列表</router-link>
                          |
    <router-link to="/Show"  class="text">展示信息</router-link>
    <keep-alive >
      <router-view></router-view>
    </keep-alive>
    
  </div>
</template>

<script>
// @ is an alias to /src
export default {
  name: 'HomeView',

}
</script>

<style>
  .text {
    color: black;
  }
  .active{
    color: #41b883;
  }
  
  .home a.router-link-exact-active {
      color: #42b983;
  }
</style>
